<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/30
 * Time: 13:56
 */

namespace app\index\model;


class UserDaybook extends Base
{
    protected $table = 'sy_user_daybook';

    public function user()
    {
         return $this->belongsTo('User', 'uid', 'id');
    }
}